package com.donald.kotlincompattest;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.TextView;

import com.donald.ktlib.KtLib;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        TextView tv = findViewById(R.id.tv);
        System.out.println(KtLib.message());
        System.out.println(KtLib.INSTANCE.message2());
        tv.setText(KtLib.message() + "\n" + KtLib.INSTANCE.message2());
    }
}